<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: instance.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00170.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">instance.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03620_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a00170_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a10d2aee3f3afc456744dadb459f40007"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#a10d2aee3f3afc456744dadb459f40007">INST_GROW_COUNT</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:a10d2aee3f3afc456744dadb459f40007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8214dab6344b62ccf2ee3b0860e83c74"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#a8214dab6344b62ccf2ee3b0860e83c74">perrs</a>&#160;&#160;&#160;((MONERRSTRUCT *)&amp;<a class="el" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;Data)</td></tr>
<tr class="separator:a8214dab6344b62ccf2ee3b0860e83c74"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a47b8e03e8ee37bd75b276f76779a1cf2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#a47b8e03e8ee37bd75b276f76779a1cf2">AddInstance</a> (HANDLE hInstServer)</td></tr>
<tr class="separator:a47b8e03e8ee37bd75b276f76779a1cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e229637878fc5752b5f90dbde29fa59"><td class="memItemLeft" align="right" valign="top">HANDLE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#a5e229637878fc5752b5f90dbde29fa59">DestroyInstance</a> (int hInstClient)</td></tr>
<tr class="separator:a5e229637878fc5752b5f90dbde29fa59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a771029888de7726f673b794463ad5a9d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#a771029888de7726f673b794463ad5a9d">ValidateInstance</a> (HANDLE hInstClient)</td></tr>
<tr class="separator:a771029888de7726f673b794463ad5a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b2e79f5b5173a6fbfeb65e2195720c3"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a> (<a class="el" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a> pcii, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> error)</td></tr>
<tr class="separator:a8b2e79f5b5173a6fbfeb65e2195720c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a85174cce72ee8d3704266dbf1f743e88"><td class="memItemLeft" align="right" valign="top">PHANDLE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a> = NULL</td></tr>
<tr class="separator:a85174cce72ee8d3704266dbf1f743e88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15c24ca421cdb633e73d991b65e3839d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#a15c24ca421cdb633e73d991b65e3839d">cInstAllocated</a> = 0</td></tr>
<tr class="separator:a15c24ca421cdb633e73d991b65e3839d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44312c07199bdfb8a47f4b68be141e2b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#a44312c07199bdfb8a47f4b68be141e2b">iFirstFreeInst</a> = 0</td></tr>
<tr class="separator:a44312c07199bdfb8a47f4b68be141e2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a10d2aee3f3afc456744dadb459f40007"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10d2aee3f3afc456744dadb459f40007">&#9670;&nbsp;</a></span>INST_GROW_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INST_GROW_COUNT&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00170_source.html">instance.c</a> 第 <a class="el" href="a00170_source.html#l00017">17</a> 行定义.</p>

</div>
</div>
<a id="a8214dab6344b62ccf2ee3b0860e83c74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8214dab6344b62ccf2ee3b0860e83c74">&#9670;&nbsp;</a></span>perrs</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define perrs&#160;&#160;&#160;((MONERRSTRUCT *)&amp;<a class="el" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;Data)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a47b8e03e8ee37bd75b276f76779a1cf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47b8e03e8ee37bd75b276f76779a1cf2">&#9670;&nbsp;</a></span>AddInstance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> AddInstance </td>
          <td>(</td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hInstServer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00170_source.html">instance.c</a> 第 <a class="el" href="a00170_source.html#l00040">40</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;{</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keywordtype">int</span> i, iNextFree;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    PHANDLE ph;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a00170.html#a44312c07199bdfb8a47f4b68be141e2b">iFirstFreeInst</a> &gt;= <a class="code" href="a00170.html#a15c24ca421cdb633e73d991b65e3839d">cInstAllocated</a>) {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00170.html#a15c24ca421cdb633e73d991b65e3839d">cInstAllocated</a> == 0) {</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;           <a class="code" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a> = (PHANDLE)<a class="code" href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a>(<span class="keyword">sizeof</span>(HANDLE) * <a class="code" href="a00170.html#a10d2aee3f3afc456744dadb459f40007">INST_GROW_COUNT</a>);</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;           <a class="code" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a> = (PHANDLE)<a class="code" href="a00086.html#ac22685a19cc50d86b3c1ab6cf0fa322a">DDEMLReAlloc</a>((PVOID)<a class="code" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a>,</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;                 <span class="keyword">sizeof</span>(HANDLE) * (<a class="code" href="a00170.html#a15c24ca421cdb633e73d991b65e3839d">cInstAllocated</a> + <a class="code" href="a00170.html#a10d2aee3f3afc456744dadb459f40007">INST_GROW_COUNT</a>));</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        }</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a> == 0) {</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;            <span class="keywordflow">return</span> (0);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        }</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        ph = &amp;<a class="code" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a>[<a class="code" href="a00170.html#a15c24ca421cdb633e73d991b65e3839d">cInstAllocated</a>];</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        i = <a class="code" href="a00170.html#a15c24ca421cdb633e73d991b65e3839d">cInstAllocated</a> + 1;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="keywordflow">while</span> (i &lt;= <a class="code" href="a00170.html#a15c24ca421cdb633e73d991b65e3839d">cInstAllocated</a> + <a class="code" href="a00170.html#a10d2aee3f3afc456744dadb459f40007">INST_GROW_COUNT</a>) {</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;           *ph++ = (HANDLE)i++;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        }</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <a class="code" href="a00170.html#a15c24ca421cdb633e73d991b65e3839d">cInstAllocated</a> += <a class="code" href="a00170.html#a10d2aee3f3afc456744dadb459f40007">INST_GROW_COUNT</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    }</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    iNextFree = (int)<a class="code" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a>[<a class="code" href="a00170.html#a44312c07199bdfb8a47f4b68be141e2b">iFirstFreeInst</a>];</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordflow">if</span> (iNextFree &gt; <a class="code" href="a00086.html#a7fabbb6b6d870eadcd88ddb6842ff86d">MAX_INST</a>) {</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">         * Instance limit for this process exceeded!</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <span class="keywordflow">return</span>(0);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    }</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a>[<a class="code" href="a00170.html#a44312c07199bdfb8a47f4b68be141e2b">iFirstFreeInst</a>] = hInstServer;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    i = <a class="code" href="a00170.html#a44312c07199bdfb8a47f4b68be141e2b">iFirstFreeInst</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="a00170.html#a44312c07199bdfb8a47f4b68be141e2b">iFirstFreeInst</a> = iNextFree;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordflow">return</span> ((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)<a class="code" href="a00086.html#a87d38bfb89ae342e462db838beab43cf">CreateHandle</a>(0, <a class="code" href="a00086.html#a91685ca60009ee313f8c573f92787bbc">HTYPE_INSTANCE</a>, i));</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00170_source.html#l00021">aInstance</a>, <a class="el" href="a00170_source.html#l00022">cInstAllocated</a>, <a class="el" href="a00155_source.html#l00075">CreateHandle()</a>, <a class="el" href="a00086_source.html#l00012">DDEMLAlloc</a>, <a class="el" href="a00086_source.html#l00013">DDEMLReAlloc</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00095">HTYPE_INSTANCE</a>, <a class="el" href="a00170_source.html#l00023">iFirstFreeInst</a>, <a class="el" href="a00170_source.html#l00017">INST_GROW_COUNT</a> , 以及 <a class="el" href="a00086_source.html#l00082">MAX_INST</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00083_source.html#l00061">InternalDdeInitialize()</a>.</p>

</div>
</div>
<a id="a5e229637878fc5752b5f90dbde29fa59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e229637878fc5752b5f90dbde29fa59">&#9670;&nbsp;</a></span>DestroyInstance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HANDLE DestroyInstance </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hInstClient</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00170_source.html">instance.c</a> 第 <a class="el" href="a00170_source.html#l00087">87</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;{</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keyword">register</span> HANDLE hInstServerRet = 0;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <a class="code" href="a00086.html#a49f0ae82e6897f4c6208f18e7c04d787">DestroyHandle</a>((HANDLE)hInstClient);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    hInstServerRet = <a class="code" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a>[<a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>(hInstClient)];</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <a class="code" href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a>[<a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>(hInstClient)] = (HANDLE)<a class="code" href="a00170.html#a44312c07199bdfb8a47f4b68be141e2b">iFirstFreeInst</a>;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <a class="code" href="a00170.html#a44312c07199bdfb8a47f4b68be141e2b">iFirstFreeInst</a> = <a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>(hInstClient);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordflow">return</span> (hInstServerRet);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00170_source.html#l00021">aInstance</a>, <a class="el" href="a00155_source.html#l00137">DestroyHandle()</a>, <a class="el" href="a00170_source.html#l00023">iFirstFreeInst</a> , 以及 <a class="el" href="a00086_source.html#l00087">InstFromHandle</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00083_source.html#l00192">DdeUninitialize()</a>.</p>

</div>
</div>
<a id="a8b2e79f5b5173a6fbfeb65e2195720c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b2e79f5b5173a6fbfeb65e2195720c3">&#9670;&nbsp;</a></span>SetLastDDEMLError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SetLastDDEMLError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a>&#160;</td>
          <td class="paramname"><em>pcii</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00170_source.html">instance.c</a> 第 <a class="el" href="a00170_source.html#l00137">137</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;{</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <a class="code" href="a02489.html">PEVENT_PACKET</a> <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordflow">if</span> (pcii-&gt;<a class="code" href="a01841.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a> &amp; MF_ERRORS &amp;&amp; !(pcii-&gt;<a class="code" href="a01841.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; APPCLASS_MONITOR)) {</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a> = (<a class="code" href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a>)<a class="code" href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a>(<span class="keyword">sizeof</span>(<a class="code" href="a02489.html">EVENT_PACKET</a>) - <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>) +</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;                <span class="keyword">sizeof</span>(MONERRSTRUCT));</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a> != NULL) {</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;            <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;EventType =    MF_ERRORS;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;            <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;fSense =       TRUE;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;            <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;cbEventData =  <span class="keyword">sizeof</span>(MONERRSTRUCT);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">#define perrs ((MONERRSTRUCT *)&amp;pep-&gt;Data)</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;            <a class="code" href="a00170.html#a8214dab6344b62ccf2ee3b0860e83c74">perrs</a>-&gt;cb =      <span class="keyword">sizeof</span>(MONERRSTRUCT);</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            <a class="code" href="a00170.html#a8214dab6344b62ccf2ee3b0860e83c74">perrs</a>-&gt;wLastError = (WORD)error;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;            <a class="code" href="a00170.html#a8214dab6344b62ccf2ee3b0860e83c74">perrs</a>-&gt;dwTime =  NtGetTickCount();</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;            <a class="code" href="a00170.html#a8214dab6344b62ccf2ee3b0860e83c74">perrs</a>-&gt;hTask =   (HANDLE)pcii-&gt;<a class="code" href="a01841.html#abcd75f399219ad50af9203b3af664789">tid</a>;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;#undef <a class="code" href="a00170.html#a8214dab6344b62ccf2ee3b0860e83c74">perrs</a></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;            <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;            <a class="code" href="a03611.html#a2a45151bf23fa8ad0e2348b5f5b1ea79">Event</a>(<a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>);</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;            <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        }</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    }</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    <span class="keywordflow">if</span> (error != 0 &amp;&amp; error != DMLERR_NO_CONV_ESTABLISHED) {</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;        <a class="code" href="a00371.html#af713eb6f9b50ac607c1fed71a5f678f8">RIPMSG3</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>,</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;                <span class="stringliteral">&quot;DDEML Error set=%x, Client Instance=%x, Process=%x.&quot;</span>,</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;                error, pcii, GetCurrentProcessId());</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    }</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    pcii-&gt;<a class="code" href="a01841.html#a4adee47baa975d0bf7a9293f02dd1f8d">LastError</a> = error;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00183">tagCL_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00086_source.html#l00012">DDEMLAlloc</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a03611_source.html#l00101">Event()</a>, <a class="el" href="a00086_source.html#l00185">tagCL_INSTANCE_INFO::LastError</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00086_source.html#l00179">tagCL_INSTANCE_INFO::MonitorFlags</a>, <a class="el" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>, <a class="el" href="a00170.html#a8214dab6344b62ccf2ee3b0860e83c74">perrs</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00134">RIPMSG3</a> , 以及 <a class="el" href="a00086_source.html#l00186">tagCL_INSTANCE_INFO::tid</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00260_source.html#l00021">AddLink()</a>, <a class="el" href="a00155_source.html#l00336">BestSetLastDDEMLError()</a>, <a class="el" href="a00251_source.html#l01269">ClRespRequestData()</a>, <a class="el" href="a00251_source.html#l00360">ClSpontAdviseData()</a>, <a class="el" href="a00251_source.html#l00065">ClStartAdvise()</a>, <a class="el" href="a00251_source.html#l00827">ClStartExecute()</a>, <a class="el" href="a00251_source.html#l00987">ClStartPoke()</a>, <a class="el" href="a00251_source.html#l01151">ClStartRequest()</a>, <a class="el" href="a00251_source.html#l00544">ClStartUnadvise()</a>, <a class="el" href="a00062_source.html#l00605">ConnectConv()</a>, <a class="el" href="a00272_source.html#l00558">DdeAbandonTransaction()</a>, <a class="el" href="a00158_source.html#l00157">DdeAddData()</a>, <a class="el" href="a00272_source.html#l00022">DdeClientTransaction()</a>, <a class="el" href="a00062_source.html#l00144">DdeConnect()</a>, <a class="el" href="a00062_source.html#l00193">DdeConnectList()</a>, <a class="el" href="a00158_source.html#l00023">DdeCreateDataHandle()</a>, <a class="el" href="a00008_source.html#l00329">DdeEnableCallback()</a>, <a class="el" href="a00164_source.html#l00227">DdeFreeStringHandle()</a>, <a class="el" href="a00158_source.html#l00225">DdeGetData()</a>, <a class="el" href="a00164_source.html#l00272">DdeKeepStringHandle()</a>, <a class="el" href="a00083_source.html#l00269">DdeNameService()</a>, <a class="el" href="a00272_source.html#l00663">DdePostAdvise()</a>, <a class="el" href="a00272_source.html#l00409">DdeQueryConvInfo()</a>, <a class="el" href="a00062_source.html#l00904">DdeQueryNextServer()</a>, <a class="el" href="a00062_source.html#l00407">DdeReconnect()</a>, <a class="el" href="a00164_source.html#l00141">InternalDdeQueryString()</a>, <a class="el" href="a00209_source.html#l00165">MonitorConv()</a>, <a class="el" href="a00209_source.html#l00088">MonitorLink()</a>, <a class="el" href="a00209_source.html#l00029">MonitorStringHandle()</a>, <a class="el" href="a00251_source.html#l00110">SvSpontAdvise()</a>, <a class="el" href="a00251_source.html#l00860">SvSpontExecute()</a>, <a class="el" href="a00251_source.html#l01017">SvSpontPoke()</a>, <a class="el" href="a00251_source.html#l01182">SvSpontRequest()</a>, <a class="el" href="a00251_source.html#l00623">SvSpontUnadvise()</a>, <a class="el" href="a00251_source.html#l00261">SvStartAdviseUpdate()</a>, <a class="el" href="a00251_source.html#l01576">TransactionComplete()</a>, <a class="el" href="a00062_source.html#l00489">ValidateConnectParameters()</a> , 以及 <a class="el" href="a00272_source.html#l00863">ValidateTransaction()</a>.</p>

</div>
</div>
<a id="a771029888de7726f673b794463ad5a9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a771029888de7726f673b794463ad5a9d">&#9670;&nbsp;</a></span>ValidateInstance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a> ValidateInstance </td>
          <td>(</td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hInstClient</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00170_source.html">instance.c</a> 第 <a class="el" href="a00170_source.html#l00111">111</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;{</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    pcii = (<a class="code" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>(hInstClient, <a class="code" href="a00086.html#a91685ca60009ee313f8c573f92787bbc">HTYPE_INSTANCE</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="keywordflow">if</span> (pcii != NULL) {</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <span class="keywordflow">if</span> (pcii-&gt;<a class="code" href="a01841.html#abcd75f399219ad50af9203b3af664789">tid</a> != GetCurrentThreadId() ||</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                pcii-&gt;<a class="code" href="a01841.html#a6a33ca20f90febbc42166c4466d979c2">hInstClient</a> != hInstClient) {</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            <span class="keywordflow">return</span> (NULL);</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        }</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    }</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keywordflow">return</span> (pcii);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00104">HINST_ANY</a>, <a class="el" href="a00086_source.html#l00178">tagCL_INSTANCE_INFO::hInstClient</a>, <a class="el" href="a00086_source.html#l00095">HTYPE_INSTANCE</a>, <a class="el" href="a00086_source.html#l00186">tagCL_INSTANCE_INFO::tid</a> , 以及 <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00272_source.html#l00558">DdeAbandonTransaction()</a>, <a class="el" href="a00158_source.html#l00023">DdeCreateDataHandle()</a>, <a class="el" href="a00008_source.html#l00329">DdeEnableCallback()</a>, <a class="el" href="a00164_source.html#l00227">DdeFreeStringHandle()</a>, <a class="el" href="a00083_source.html#l00401">DdeGetLastError()</a>, <a class="el" href="a00164_source.html#l00272">DdeKeepStringHandle()</a>, <a class="el" href="a00089_source.html#l00376">DDEMLClientWndProc()</a>, <a class="el" href="a00083_source.html#l00269">DdeNameService()</a>, <a class="el" href="a00272_source.html#l00663">DdePostAdvise()</a>, <a class="el" href="a00083_source.html#l00192">DdeUninitialize()</a>, <a class="el" href="a00164_source.html#l00049">InternalDdeCreateStringHandle()</a>, <a class="el" href="a00083_source.html#l00061">InternalDdeInitialize()</a>, <a class="el" href="a00164_source.html#l00141">InternalDdeQueryString()</a>, <a class="el" href="a00062_source.html#l00489">ValidateConnectParameters()</a> , 以及 <a class="el" href="a00272_source.html#l00863">ValidateTransaction()</a>.</p>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a85174cce72ee8d3704266dbf1f743e88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85174cce72ee8d3704266dbf1f743e88">&#9670;&nbsp;</a></span>aInstance</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PHANDLE aInstance = NULL</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00170_source.html">instance.c</a> 第 <a class="el" href="a00170_source.html#l00021">21</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00170_source.html#l00040">AddInstance()</a> , 以及 <a class="el" href="a00170_source.html#l00087">DestroyInstance()</a>.</p>

</div>
</div>
<a id="a15c24ca421cdb633e73d991b65e3839d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15c24ca421cdb633e73d991b65e3839d">&#9670;&nbsp;</a></span>cInstAllocated</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cInstAllocated = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00170_source.html">instance.c</a> 第 <a class="el" href="a00170_source.html#l00022">22</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00170_source.html#l00040">AddInstance()</a>.</p>

</div>
</div>
<a id="a44312c07199bdfb8a47f4b68be141e2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44312c07199bdfb8a47f4b68be141e2b">&#9670;&nbsp;</a></span>iFirstFreeInst</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int iFirstFreeInst = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00170_source.html">instance.c</a> 第 <a class="el" href="a00170_source.html#l00023">23</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00170_source.html#l00040">AddInstance()</a> , 以及 <a class="el" href="a00170_source.html#l00087">DestroyInstance()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa00170_html_a10d2aee3f3afc456744dadb459f40007"><div class="ttname"><a href="a00170.html#a10d2aee3f3afc456744dadb459f40007">INST_GROW_COUNT</a></div><div class="ttdeci">#define INST_GROW_COUNT</div><div class="ttdef"><b>Definition:</b> <a href="a00170_source.html#l00017">instance.c:17</a></div></div>
<div class="ttc" id="aa01841_html_a9735d28a0381236e8c20f45a431efd55"><div class="ttname"><a href="a01841.html#a9735d28a0381236e8c20f45a431efd55">tagCL_INSTANCE_INFO::afCmd</a></div><div class="ttdeci">DWORD afCmd</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00183">ddemlcli.h:183</a></div></div>
<div class="ttc" id="aa00086_html_a7fabbb6b6d870eadcd88ddb6842ff86d"><div class="ttname"><a href="a00086.html#a7fabbb6b6d870eadcd88ddb6842ff86d">MAX_INST</a></div><div class="ttdeci">#define MAX_INST</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00082">ddemlcli.h:82</a></div></div>
<div class="ttc" id="aa01841_html_a6a33ca20f90febbc42166c4466d979c2"><div class="ttname"><a href="a01841.html#a6a33ca20f90febbc42166c4466d979c2">tagCL_INSTANCE_INFO::hInstClient</a></div><div class="ttdeci">HANDLE hInstClient</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00178">ddemlcli.h:178</a></div></div>
<div class="ttc" id="aa00086_html_a6a2176afcdf096eb6add39fa9d673f80"><div class="ttname"><a href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a></div><div class="ttdeci">#define InstFromHandle(h)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00087">ddemlcli.h:87</a></div></div>
<div class="ttc" id="aa00086_html_acc904eaf46cb98fa7741658d8e00f06c"><div class="ttname"><a href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a></div><div class="ttdeci">#define DDEMLAlloc(cb)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00012">ddemlcli.h:12</a></div></div>
<div class="ttc" id="aa00371_html_af713eb6f9b50ac607c1fed71a5f678f8"><div class="ttname"><a href="a00371.html#af713eb6f9b50ac607c1fed71a5f678f8">RIPMSG3</a></div><div class="ttdeci">#define RIPMSG3(flags, szFmt, p1, p2, p3)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00134">winerrp.h:134</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa01841_html_abcd75f399219ad50af9203b3af664789"><div class="ttname"><a href="a01841.html#abcd75f399219ad50af9203b3af664789">tagCL_INSTANCE_INFO::tid</a></div><div class="ttdeci">DWORD tid</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00186">ddemlcli.h:186</a></div></div>
<div class="ttc" id="aa00170_html_a44312c07199bdfb8a47f4b68be141e2b"><div class="ttname"><a href="a00170.html#a44312c07199bdfb8a47f4b68be141e2b">iFirstFreeInst</a></div><div class="ttdeci">int iFirstFreeInst</div><div class="ttdef"><b>Definition:</b> <a href="a00170_source.html#l00023">instance.c:23</a></div></div>
<div class="ttc" id="aa01841_html_aeedf4ff87347e042a697331c6ca6b469"><div class="ttname"><a href="a01841.html#aeedf4ff87347e042a697331c6ca6b469">tagCL_INSTANCE_INFO::MonitorFlags</a></div><div class="ttdeci">DWORD MonitorFlags</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00179">ddemlcli.h:179</a></div></div>
<div class="ttc" id="aa00086_html_a1404f4537352b9accf0bad83b81d3097"><div class="ttname"><a href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a></div><div class="ttdeci">#define HINST_ANY</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00104">ddemlcli.h:104</a></div></div>
<div class="ttc" id="aa00371_html_a41f433389f20db57f042022a662e96de"><div class="ttname"><a href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a></div><div class="ttdeci">#define RIP_WARNING</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00029">winerrp.h:29</a></div></div>
<div class="ttc" id="aa00086_html_a3b5310e2dd6b3c42cb13fa51a1b4e254"><div class="ttname"><a href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a></div><div class="ttdeci">#define LeaveDDECrit</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00041">ddemlcli.h:41</a></div></div>
<div class="ttc" id="aa00086_html_ad5b8ef18960b493b8123fdce517dc30f"><div class="ttname"><a href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a></div><div class="ttdeci">DWORD ValidateCHandle(HANDLE h, DWORD ExpectedType, DWORD ExpectedInstance)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00204">handles.c:204</a></div></div>
<div class="ttc" id="aa00170_html_a15c24ca421cdb633e73d991b65e3839d"><div class="ttname"><a href="a00170.html#a15c24ca421cdb633e73d991b65e3839d">cInstAllocated</a></div><div class="ttdeci">int cInstAllocated</div><div class="ttdef"><b>Definition:</b> <a href="a00170_source.html#l00022">instance.c:22</a></div></div>
<div class="ttc" id="aa01841_html_a4adee47baa975d0bf7a9293f02dd1f8d"><div class="ttname"><a href="a01841.html#a4adee47baa975d0bf7a9293f02dd1f8d">tagCL_INSTANCE_INFO::LastError</a></div><div class="ttdeci">DWORD LastError</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00185">ddemlcli.h:185</a></div></div>
<div class="ttc" id="aa00086_html_a8c66aaa58bd4b338d4f04ae07d4fb23a"><div class="ttname"><a href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a></div><div class="ttdeci">#define EnterDDECrit</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00040">ddemlcli.h:40</a></div></div>
<div class="ttc" id="aa00677_html_aca74961d0036b8ae855be8a9234df247"><div class="ttname"><a href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a></div><div class="ttdeci">#define pep</div></div>
<div class="ttc" id="aa02489_html"><div class="ttname"><a href="a02489.html">tagEVENT_PACKET</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00509">user.h:509</a></div></div>
<div class="ttc" id="aa00170_html_a8214dab6344b62ccf2ee3b0860e83c74"><div class="ttname"><a href="a00170.html#a8214dab6344b62ccf2ee3b0860e83c74">perrs</a></div><div class="ttdeci">#define perrs</div></div>
<div class="ttc" id="aa00086_html_ac22685a19cc50d86b3c1ab6cf0fa322a"><div class="ttname"><a href="a00086.html#ac22685a19cc50d86b3c1ab6cf0fa322a">DDEMLReAlloc</a></div><div class="ttdeci">#define DDEMLReAlloc(p, cb)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00013">ddemlcli.h:13</a></div></div>
<div class="ttc" id="aa00086_html_a49f0ae82e6897f4c6208f18e7c04d787"><div class="ttname"><a href="a00086.html#a49f0ae82e6897f4c6208f18e7c04d787">DestroyHandle</a></div><div class="ttdeci">DWORD DestroyHandle(HANDLE h)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00137">handles.c:137</a></div></div>
<div class="ttc" id="aa00365_html_af616254250e3e93b5aeb552683e8ed71"><div class="ttname"><a href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a></div><div class="ttdeci">struct tagEVENT_PACKET * PEVENT_PACKET</div></div>
<div class="ttc" id="aa03611_html_a2a45151bf23fa8ad0e2348b5f5b1ea79"><div class="ttname"><a href="a03611.html#a2a45151bf23fa8ad0e2348b5f5b1ea79">Event</a></div><div class="ttdeci">DWORD Event(PEVENT_PACKET pep)</div><div class="ttdef"><b>Definition:</b> <a href="a03611_source.html#l00101">client/ntstubs.c:101</a></div></div>
<div class="ttc" id="aa00086_html_af3e1f90b1c4f51b56c010009ceac2ddb"><div class="ttname"><a href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a></div><div class="ttdeci">struct tagCL_INSTANCE_INFO * PCL_INSTANCE_INFO</div></div>
<div class="ttc" id="aa00086_html_a87d38bfb89ae342e462db838beab43cf"><div class="ttname"><a href="a00086.html#a87d38bfb89ae342e462db838beab43cf">CreateHandle</a></div><div class="ttdeci">HANDLE CreateHandle(DWORD dwData, DWORD type, DWORD inst)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00075">handles.c:75</a></div></div>
<div class="ttc" id="aa00086_html_a91685ca60009ee313f8c573f92787bbc"><div class="ttname"><a href="a00086.html#a91685ca60009ee313f8c573f92787bbc">HTYPE_INSTANCE</a></div><div class="ttdeci">#define HTYPE_INSTANCE</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00095">ddemlcli.h:95</a></div></div>
<div class="ttc" id="aa01841_html"><div class="ttname"><a href="a01841.html">tagCL_INSTANCE_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00175">ddemlcli.h:175</a></div></div>
<div class="ttc" id="aa00170_html_a85174cce72ee8d3704266dbf1f743e88"><div class="ttname"><a href="a00170.html#a85174cce72ee8d3704266dbf1f743e88">aInstance</a></div><div class="ttdeci">PHANDLE aInstance</div><div class="ttdef"><b>Definition:</b> <a href="a00170_source.html#l00021">instance.c:21</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_caf01b281dbc7d7ffe410ecf117b6142.html">client</a></li><li class="navelem"><a class="el" href="a00170.html">instance.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
